<script setup lang="ts">
//结合
import Headers from "@/components/home/right/header.vue";
import Contents from "@/components/home/right/content.vue";
import { Single } from "@/store/interface";

const props = defineProps<{ data: Single }>();

const header = props.data.content;
const header_meat = props.data.meat;

const content = props.data.content;
const content_meat = props.data.meat;
</script>
<template>
  <Headers :data="header" :meat="header_meat" />
  <Contents :data="content" :meat="content_meat">
    <slot></slot>
  </Contents>
</template>
<style scoped lang="less"></style>
